package com.fjk.order.feign;

import com.fjk.module.domain.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "point-service")
public interface PointServiceFeign {
    @PostMapping("/point/add")
    String add(@RequestBody Order order);
}
